package com.token.iot.bratterycharging.boss.web;

import java.util.Date;
import java.util.List;

import com.outstanding.framework.core.EntityObject;
import com.token.base.device.api.DeviceStatus;
import com.token.base.device.api.OnlineState;
import com.token.iot.bratterycharging.gateway.api.Port;

public class DeviceDTO extends EntityObject {

	private Long id;
	private String imei;
	// 所属的代理商
	private String agentId;
	private String agentName;
	private Long merchantId;
	private String merchantName;

	private String qrContent;
	private String qrCode;
	private String qrFileName;

	private Long createBy;

	private String lastTradeYmd;
	private String lastTradeId;
	private DeviceStatus status;
	private OnlineState active;
	private Date createTime;

	// 端口信息
	private List<Port> ports;
	
	public List<Port> getPorts() {
		return ports;
	}

	public void setPorts(List<Port> ports) {
		this.ports = ports;
	}

	public String getAgentName() {
		return agentName;
	}

	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}

	public String getMerchantName() {
		return merchantName;
	}

	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}

	public String getLastTradeYmd() {
		return lastTradeYmd;
	}

	public void setLastTradeYmd(String lastTradeYmd) {
		this.lastTradeYmd = lastTradeYmd;
	}

	public String getLastTradeId() {
		return lastTradeId;
	}

	public void setLastTradeId(String lastTradeId) {
		this.lastTradeId = lastTradeId;
	}

	public DeviceStatus getStatus() {
		return status;
	}

	public void setStatus(DeviceStatus status) {
		this.status = status;
	}

	public OnlineState getActive() {
		return active;
	}

	public void setActive(OnlineState active) {
		this.active = active;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getCreateBy() {
		return createBy;
	}

	public void setCreateBy(Long createBy) {
		this.createBy = createBy;
	}

	public String getQrContent() {
		return qrContent;
	}

	public void setQrContent(String qrContent) {
		this.qrContent = qrContent;
	}

	public String getQrCode() {
		return qrCode;
	}

	public void setQrCode(String qrCode) {
		this.qrCode = qrCode;
	}

	public String getQrFileName() {
		return qrFileName;
	}

	public void setQrFileName(String qrFileName) {
		this.qrFileName = qrFileName;
	}

	public Long getMerchantId() {
		return merchantId;
	}

	public void setMerchantId(Long merchantId) {
		this.merchantId = merchantId;
	}

	public String getImei() {
		return imei;
	}

	public void setImei(String imei) {
		this.imei = imei;
	}

	public String getAgentId() {
		return agentId;
	}

	public void setAgentId(String agentId) {
		this.agentId = agentId;
	}

}
